package com.senjoeson.wanandroid.model;

import java.io.Serializable;
import java.util.List;

/**
 * @author senjoeson
 * @date 2018/4/4
 */

public class ArticleData implements Serializable{


    /**
     * curPage : 2
     * datas : [{"apkLink":"","author":"gzw19931217","chapterId":339,"chapterName":"K线图","collect":false,"courseId":13,"desc":"Android专业版K线图、分时图\r\n ","envelopePic":"http://www.wanandroid.com/blogimgs/b39bd2cd-2f7d-4365-b7a2-b188a3d8c43a.png","fresh":false,"id":2706,"link":"http://www.wanandroid.com/blog/show/2099","niceDate":"2018-03-27","origin":"","projectLink":"https://github.com/gzw19931217/android-kline","publishTime":1522150739000,"superChapterId":294,"superChapterName":"开源项目主Tab","tags":[{"name":"项目","url":"/project/list/1?cid=339"}],"title":"Android专业版K线图、分时图 android-kline","type":0,"visible":1,"zan":0},{"apkLink":"","author":"GinkWang","chapterId":228,"chapterName":"辅助 or 工具类","collect":false,"courseId":13,"desc":"","envelopePic":"","fresh":false,"id":2704,"link":"https://www.jianshu.com/p/68746e1476a7","niceDate":"2018-03-27","origin":"","projectLink":"","publishTime":1522150437000,"superChapterId":135,"superChapterName":"项目必备","tags":[],"title":"Android APK 省心安装 \u2014\u2014 眼睁睁地看着它完成一切","type":0,"visible":1,"zan":0},{"apkLink":"","author":"JYcoder","chapterId":228,"chapterName":"辅助 or 工具类","collect":false,"courseId":13,"desc":"","envelopePic":"","fresh":false,"id":2703,"link":"https://www.jianshu.com/p/3d9ee98a9570","niceDate":"2018-03-27","origin":"","projectLink":"","publishTime":1522150419000,"superChapterId":135,"superChapterName":"项目必备","tags":[],"title":"关于基类的那些事","type":0,"visible":1,"zan":0},{"apkLink":"","author":"SouthernBox","chapterId":338,"chapterName":"日历","collect":false,"courseId":13,"desc":"仿小米日历~","envelopePic":"http://www.wanandroid.com/blogimgs/43d0dbde-97a3-4c69-8b2a-836b86c2fb86.gif","fresh":false,"id":2702,"link":"http://www.wanandroid.com/blog/show/2097","niceDate":"2018-03-27","origin":"","projectLink":"https://github.com/SouthernBox/NestedCalendar","publishTime":1522150383000,"superChapterId":294,"superChapterName":"开源项目主Tab","tags":[{"name":"项目","url":"/project/list/1?cid=338"}],"title":"开源仿小米日历 NestedCalendar","type":0,"visible":1,"zan":0},{"apkLink":"","author":" 伪文艺大叔","chapterId":100,"chapterName":"RecyclerView","collect":false,"courseId":13,"desc":"","envelopePic":"","fresh":false,"id":2701,"link":"https://juejin.im/post/5a70139ff265da3e274574cb","niceDate":"2018-03-26","origin":"","projectLink":"","publishTime":1522073009000,"superChapterId":193,"superChapterName":"5.+高新技术","tags":[],"title":"Android RecyclerView 使用ItemDecoration实现吸附效果，和业务代码完全解耦，即插即用","type":0,"visible":1,"zan":0},{"apkLink":"","author":"CB-ysx","chapterId":337,"chapterName":"快应用","collect":false,"courseId":13,"desc":"wanandroid-快应用(quickapp)版本出炉~\r\n","envelopePic":"http://www.wanandroid.com/blogimgs/ff4c98e2-9c1c-424b-b803-93ec376d90d3.png","fresh":false,"id":2700,"link":"http://www.wanandroid.com/blog/show/2096","niceDate":"2018-03-25","origin":"","projectLink":"https://github.com/CB-ysx/wanandroid-quickapp","publishTime":1521984347000,"superChapterId":294,"superChapterName":"开源项目主Tab","tags":[{"name":"项目","url":"/project/list/1?cid=337"}],"title":"wanandroid 快应用(quickapp)版本 ","type":0,"visible":1,"zan":0},{"apkLink":"","author":" KenChoi","chapterId":334,"chapterName":"Architecture Components","collect":false,"courseId":13,"desc":"","envelopePic":"","fresh":false,"id":2699,"link":"https://zhuanlan.zhihu.com/p/33206893","niceDate":"2018-03-25","origin":"","projectLink":"","publishTime":1521984217000,"superChapterId":193,"superChapterName":"5.+高新技术","tags":[],"title":"关于使用 Android MVVM + LiveData 模式的一些建议","type":0,"visible":1,"zan":0},{"apkLink":"","author":"YvesCheung","chapterId":331,"chapterName":"TextView","collect":false,"courseId":13,"desc":"可高度定制，数字滚动效果","envelopePic":"http://www.wanandroid.com/blogimgs/8e8260dc-87df-4453-8bf0-05c0e47fe77e.gif","fresh":false,"id":2698,"link":"http://www.wanandroid.com/blog/show/2095","niceDate":"2018-03-25","origin":"","projectLink":"https://github.com/YvesCheung/RollingText","publishTime":1521984172000,"superChapterId":294,"superChapterName":"开源项目主Tab","tags":[{"name":"项目","url":"/project/list/1?cid=331"}],"title":"数字滚动效果 RollingText","type":0,"visible":1,"zan":0},{"apkLink":"","author":"鸿洋","chapterId":298,"chapterName":"我的博客","collect":false,"courseId":13,"desc":"","envelopePic":"","fresh":false,"id":2690,"link":"http://www.wanandroid.com/blog/show/2092","niceDate":"2018-03-25","origin":"","projectLink":"","publishTime":1521983950000,"superChapterId":298,"superChapterName":"原创文章","tags":[],"title":"对标小程序 ? \"快应用\"开发入门指南","type":0,"visible":1,"zan":0},{"apkLink":"","author":"UncleChen","chapterId":98,"chapterName":"WebView","collect":false,"courseId":13,"desc":"","envelopePic":"","fresh":false,"id":2697,"link":"http://www.wanandroid.com/blog/show/2094","niceDate":"2018-03-22","origin":"","projectLink":"","publishTime":1521722159000,"superChapterId":98,"superChapterName":"网络访问","tags":[],"title":"Android混合开发之\u2014\u2014WebView中使用原生组件替换标签元素","type":0,"visible":1,"zan":0},{"apkLink":"","author":"sunhapper","chapterId":86,"chapterName":"图片处理","collect":false,"courseId":13,"desc":"","envelopePic":"","fresh":false,"id":2695,"link":"https://www.jianshu.com/p/e49ec7d053b3","niceDate":"2018-03-22","origin":"","projectLink":"","publishTime":1521721555000,"superChapterId":86,"superChapterName":"图片加载","tags":[],"title":"Android性能优化（五）之细说Bitmap","type":0,"visible":1,"zan":0},{"apkLink":"","author":"sunhapper","chapterId":10,"chapterName":"Activity","collect":false,"courseId":13,"desc":"","envelopePic":"","fresh":false,"id":2696,"link":"https://www.jianshu.com/p/44d2f057dd5f","niceDate":"2018-03-22","origin":"","projectLink":"","publishTime":1521721541000,"superChapterId":10,"superChapterName":"四大组件","tags":[],"title":"也聊聊activity的launchMode启动模式","type":0,"visible":1,"zan":0},{"apkLink":"","author":"谷歌开发者","chapterId":269,"chapterName":"官方发布","collect":false,"courseId":13,"desc":"","envelopePic":"","fresh":false,"id":2694,"link":"https://mp.weixin.qq.com/s/YY7bulNGdIv9sNRjpPH7ZA","niceDate":"2018-03-22","origin":"","projectLink":"","publishTime":1521721492000,"superChapterId":60,"superChapterName":"开发环境","tags":[],"title":"满足 Google Play 目标 API 等级 (targetSdkLevel) 的要求","type":0,"visible":1,"zan":0},{"apkLink":"","author":"Jacksgong","chapterId":336,"chapterName":"键盘","collect":false,"courseId":13,"desc":"起源，之前在微信工作的时候，为了给用户带来更好的基础体验，做了很多尝试，踩了很多输入法的坑，特别是动态调整键盘高度，二级页面是透明背景，魅族早期的Smart bar等, 后来逐一完善了，考虑到拥抱开源，看业界还是有很多应用存在类似问题。","envelopePic":"http://www.wanandroid.com/blogimgs/f50aca02-8af1-438f-a1d3-d56a45597c33.gif","fresh":false,"id":2693,"link":"http://www.wanandroid.com/blog/show/2093","niceDate":"2018-03-22","origin":"","projectLink":"https://github.com/Jacksgong/JKeyboardPanelSwitch","publishTime":1521682081000,"superChapterId":294,"superChapterName":"开源项目主Tab","tags":[{"name":"项目","url":"/project/list/1?cid=336"}],"title":"Android键盘面板冲突 布局闪动处理方案","type":0,"visible":1,"zan":0},{"apkLink":"","author":"鸿洋","chapterId":61,"chapterName":"Android测试相关","collect":false,"courseId":13,"desc":"","envelopePic":"","fresh":false,"id":2490,"link":"http://www.wanandroid.com/blog/show/2085","niceDate":"2018-03-21","origin":"","projectLink":"","publishTime":1521644097000,"superChapterId":196,"superChapterName":"热门专题","tags":[],"title":"必知必会 | Android 测试相关的方方面面都在这儿","type":0,"visible":1,"zan":0},{"apkLink":"","author":"双十二技术哥","chapterId":185,"chapterName":"组件化","collect":false,"courseId":13,"desc":"","envelopePic":"","fresh":false,"id":2692,"link":"https://www.jianshu.com/p/4184f662ff8f","niceDate":"2018-03-21","origin":"","projectLink":"","publishTime":1521643638000,"superChapterId":196,"superChapterName":"热门专题","tags":[],"title":"组件化实践详解（一）","type":0,"visible":1,"zan":0},{"apkLink":"","author":"Allen___","chapterId":335,"chapterName":"应用内更新","collect":false,"courseId":13,"desc":"","envelopePic":"","fresh":false,"id":2691,"link":"https://www.jianshu.com/p/32afaa19fe56","niceDate":"2018-03-21","origin":"","projectLink":"","publishTime":1521643601000,"superChapterId":135,"superChapterName":"项目必备","tags":[],"title":"你需要知道的版本更新的所有细节!(附Demo)","type":0,"visible":1,"zan":0},{"apkLink":"","author":"ivonhoe","chapterId":74,"chapterName":"反编译","collect":false,"courseId":13,"desc":"","envelopePic":"","fresh":false,"id":2689,"link":"http://www.wanandroid.com/blog/show/2091","niceDate":"2018-03-21","origin":"","projectLink":"","publishTime":1521596009000,"superChapterId":196,"superChapterName":"热门专题","tags":[],"title":"Android安全之APP去广告","type":0,"visible":1,"zan":0},{"apkLink":"","author":"Carson_Ho","chapterId":267,"chapterName":"handler","collect":false,"courseId":13,"desc":"","envelopePic":"","fresh":false,"id":2686,"link":"http://www.jianshu.com/p/b4d745c7ff7a","niceDate":"2018-03-20","origin":"","projectLink":"","publishTime":1521550749000,"superChapterId":10,"superChapterName":"四大组件","tags":[],"title":"Android Handler：手把手带你深入分析 Handler机制源码","type":0,"visible":1,"zan":0},{"apkLink":"","author":"lanzry","chapterId":313,"chapterName":"字节码","collect":false,"courseId":13,"desc":"","envelopePic":"","fresh":false,"id":2688,"link":"http://www.jianshu.com/p/d4abb3fe359c","niceDate":"2018-03-20","origin":"","projectLink":"","publishTime":1521550741000,"superChapterId":245,"superChapterName":"Java深入","tags":[],"title":"手动翻译class--探索class文件结构","type":0,"visible":1,"zan":0}]
     * offset : 20
     * over : false
     * pageCount : 60
     * size : 20
     * total : 1186
     */

    private int curPage;
    private int offset;
    private boolean over;
    private int pageCount;
    private int size;
    private int total;
    private List<DatasBean> datas;

    public int getCurPage() {
        return curPage;
    }

    public void setCurPage(int curPage) {
        this.curPage = curPage;
    }

    public int getOffset() {
        return offset;
    }

    public void setOffset(int offset) {
        this.offset = offset;
    }

    public boolean isOver() {
        return over;
    }

    public void setOver(boolean over) {
        this.over = over;
    }

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<DatasBean> getDatas() {
        return datas;
    }

    public void setDatas(List<DatasBean> datas) {
        this.datas = datas;
    }

    public static class DatasBean {
        /**
         * apkLink :
         * author : gzw19931217
         * chapterId : 339
         * chapterName : K线图
         * collect : false
         * courseId : 13
         * desc : Android专业版K线图、分时图
         * <p>
         * envelopePic : http://www.wanandroid.com/blogimgs/b39bd2cd-2f7d-4365-b7a2-b188a3d8c43a.png
         * fresh : false
         * id : 2706
         * link : http://www.wanandroid.com/blog/show/2099
         * niceDate : 2018-03-27
         * origin :
         * projectLink : https://github.com/gzw19931217/android-kline
         * publishTime : 1522150739000
         * superChapterId : 294
         * superChapterName : 开源项目主Tab
         * tags : [{"name":"项目","url":"/project/list/1?cid=339"}]
         * title : Android专业版K线图、分时图 android-kline
         * type : 0
         * visible : 1
         * zan : 0
         */

        private String apkLink;
        private String author;
        private int chapterId;
        private String chapterName;
        private boolean collect;
        private int courseId;
        private String desc;
        private String envelopePic;
        private boolean fresh;
        private int id;
        private String link;
        private String niceDate;
        private String origin;
        private String projectLink;
        private long publishTime;
        private int superChapterId;
        private String superChapterName;
        private String title;
        private int type;
        private int visible;
        private int zan;
        private List<TagsBean> tags;

        @Override
        public String toString() {
            return "DatasBean{" +
                    "apkLink='" + apkLink + '\'' +
                    ", author='" + author + '\'' +
                    ", chapterId=" + chapterId +
                    ", chapterName='" + chapterName + '\'' +
                    ", collect=" + collect +
                    ", courseId=" + courseId +
                    ", desc='" + desc + '\'' +
                    ", envelopePic='" + envelopePic + '\'' +
                    ", fresh=" + fresh +
                    ", id=" + id +
                    ", link='" + link + '\'' +
                    ", niceDate='" + niceDate + '\'' +
                    ", origin='" + origin + '\'' +
                    ", projectLink='" + projectLink + '\'' +
                    ", publishTime=" + publishTime +
                    ", superChapterId=" + superChapterId +
                    ", superChapterName='" + superChapterName + '\'' +
                    ", title='" + title + '\'' +
                    ", type=" + type +
                    ", visible=" + visible +
                    ", zan=" + zan +
                    ", tags=" + tags +
                    '}';
        }

        public String getApkLink() {
            return apkLink;
        }

        public void setApkLink(String apkLink) {
            this.apkLink = apkLink;
        }

        public String getAuthor() {
            return author;
        }

        public void setAuthor(String author) {
            this.author = author;
        }

        public int getChapterId() {
            return chapterId;
        }

        public void setChapterId(int chapterId) {
            this.chapterId = chapterId;
        }

        public String getChapterName() {
            return chapterName;
        }

        public void setChapterName(String chapterName) {
            this.chapterName = chapterName;
        }

        public boolean isCollect() {
            return collect;
        }

        public void setCollect(boolean collect) {
            this.collect = collect;
        }

        public int getCourseId() {
            return courseId;
        }

        public void setCourseId(int courseId) {
            this.courseId = courseId;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getEnvelopePic() {
            return envelopePic;
        }

        public void setEnvelopePic(String envelopePic) {
            this.envelopePic = envelopePic;
        }

        public boolean isFresh() {
            return fresh;
        }

        public void setFresh(boolean fresh) {
            this.fresh = fresh;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getLink() {
            return link;
        }

        public void setLink(String link) {
            this.link = link;
        }

        public String getNiceDate() {
            return niceDate;
        }

        public void setNiceDate(String niceDate) {
            this.niceDate = niceDate;
        }

        public String getOrigin() {
            return origin;
        }

        public void setOrigin(String origin) {
            this.origin = origin;
        }

        public String getProjectLink() {
            return projectLink;
        }

        public void setProjectLink(String projectLink) {
            this.projectLink = projectLink;
        }

        public long getPublishTime() {
            return publishTime;
        }

        public void setPublishTime(long publishTime) {
            this.publishTime = publishTime;
        }

        public int getSuperChapterId() {
            return superChapterId;
        }

        public void setSuperChapterId(int superChapterId) {
            this.superChapterId = superChapterId;
        }

        public String getSuperChapterName() {
            return superChapterName;
        }

        public void setSuperChapterName(String superChapterName) {
            this.superChapterName = superChapterName;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getVisible() {
            return visible;
        }

        public void setVisible(int visible) {
            this.visible = visible;
        }

        public int getZan() {
            return zan;
        }

        public void setZan(int zan) {
            this.zan = zan;
        }

        public List<TagsBean> getTags() {
            return tags;
        }

        public void setTags(List<TagsBean> tags) {
            this.tags = tags;
        }

        public static class TagsBean {
            /**
             * name : 项目
             * url : /project/list/1?cid=339
             */

            private String name;
            private String url;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }
        }

    }

    @Override
    public String toString() {
        return "ArticleData{" +
                "curPage=" + curPage +
                ", offset=" + offset +
                ", over=" + over +
                ", pageCount=" + pageCount +
                ", size=" + size +
                ", total=" + total +
                ", datas=" + datas +
                '}';
    }
}

